package com.li.transport;

import com.li.message.RpcRequest;

/**
 * send RpcRequest
 */
public interface RpcRequestTransport {
    /**
     * send rpc request to server and get result
     *
     * @param rpcRequest message body
     * @return data from server
     */
    Object sendRpcRequest(RpcRequest rpcRequest);
}
